EU countries approve landmark nature law after delays