SENSEX ends marginally lower, NIFTY holds 24,000; rupee hits 2-month high