Pop’s explosive device didn’t fail, he purposely took the battery out so it wouldn’t go off. He had taken the extra haldol after Annie stabbed the guy in the eyes so his plan was always to inject himself with the haldol, get killed/resurrected by Ace, and then pretend to be one of them to kill them all from inside the house.