Added check for protected figures in king moves