Palestinian President Mahmoud Abbas' Fatah party and Hamas have ordered their fighters off the streets in Gaza to end infighting that has left 13 people wounded.