Germany nears approval of 12B euro military agreement