Trump reverses course, signs order to keep families together