Palestinian militants agree to end suicide bombings