Fix redirection route after teacher deletion
Test: verify saved information on teacher page