Polish MPs clear the way for October elections