President Donald Trump says he won't sign a housing bill until Congress passes election reform after a judge blocked part of his voter registration order.