Weeklong negotiations for landmark treaty to end plastic pollution close, marred in disagreements