Police standoff ends in fatal gunfire