A landmark housing bill automatically became law overnight after President Trump declined to sign it.