Miles will stay at LSU as head coach; will gain new contract