FDP battles to avoid German election defeat