EU countries reach agreement on $170B loan plan to boost defense spending