Germany approves lifting curbs on spy agencies in security ‘revolution’