Mass layoff came days after the Supreme Court cleared the way for US president to gut entire government positions.