Degeneracy of Majorana bound states and fractional Josephson effect in a dirty SNS junction