This story is just stupid. If you actually think you have a bomb onboard, you divert to the nearest airport. (And if you think you discovered a bomb accidentally left discoverable, you don’t ask for it to be please turned off.)
The pilots and crew knew they were being idiots. Whether due to power tripping or CYA, who knows, but I’m not surprised this happened on United.