Biden to sign bill to avert freight rail strike