Xylene-loop scheme for minimized GHG emissions and PX production cost