Oil company asks judge to toss criminal charges over spill