President Joe Biden signed a bill to avert a potential rail strike that includes a 24% pay raise and one day of paid personal leave.