A federal judge on Tuesday blocked an Obama administration rule to extend mandatory overtime pay to more than 4 million salaried workers from taking effect, imperiling one of the outgoing president's signature achievements for boosting wages.