Remove noop apply, plus a bug fixe

Remove Apply operators that are equivalent to no-ops from plans. These may be introduced in a variety of places (e.g., to PushApply or RemoveUnusedColumns), but at the end we can remove them.