EM-Assist: Safe Automated ExtractMethod Refactoring with LLMs