Beijing says it will ‘fight to the end’ as president demands China drop its retaliatory countermeasures