Instead of a court room, a federal judge delivered the oath of allegiance for 45 new citizens aboard the USS Little Rock