Federal judge rules former Virginia Attorney General Cuccinelli unlawfully appointed to immigration post