Rockets trade for former 1st-round pick