Germany’s car bosses bid to head off diesel ban with software patch