A Massachusetts judge barred the White House from implementing the new rules, saying the president did not have these powers.