Mattis gets waiver from Senate