Evaluating the Effectiveness of LLMs in Fixing Maintainability Issues in Real-World Projects