Efficient Pipeline Planning for Expedited Distributed DNN Training