Prime minister says it would be a ‘derelict of duty’ to ignore an opportunity to seek a new deal with the EU