Attorney general writes in a legal opinion on deal that Israel's Basic Law for a referendum on conceding territory does not apply to the waters under dispute with Lebanon