Fragmentation and charge-neutralization pathways depending on molecular orientation at surfaces