renamo began its guerrilla war against the marxist government in 1977 , with rhodesian help , and was then aided by south africa from 1980-84 , until south africa signed a non-aggression pact with mozambique .