InBev is to lay off almost 300 workers in Belgium after striking an agreement with trade unions on its restructuring programme.