Created by: luotao1
when removing an op, the vars of this op should be removed at the same time:
- output vars of this op: remove all.
- input vars of this op: remove the input vars which are not used by other ops.
add a simple unit test to check RemoveOp
method.