Fix failures in subsystem apply

Fix bug in qutip.subsystem_apply.