Pair model of anisotropy and magnetostriction in soft amorphous magnets