Germany agrees $107b fund to modernise military in face of Russia threat