Rupee heads for best monthly performance since Jan on portfolio inflows