The ruling comes after 19 CIA employees sued and several executive orders from Trump to cut government diversity, equity and inclusion initiatives.