The judge granted Comey retroactive reinstatement and back pay from the date of her firing through Dec. 20