motion for judgment on the pleadings — Legal Definition, Examples & Cases