can you castle to get out of check