Standoff ends peacefully after man allegedly takes girlfriend hostage with machete