In-phase locking in diffraction-coupled phased-array diode lasers