German rail workers staged a four-hour stoppage on Monday but their union said it would now pursue talks with operator Deutsche Bahn to resolve a dispute over pay.