Eurosceptic junior coalition partner quits after PM’s push to implement energy directives from Brussels