The maid spends money in the first case, also. In the first case the money flows through a 25k expenditure that it doesn't flow through in the second case.
When the maid gets married, money is no longer spent on consuming her services, and that's the end of the story. Everything else is just accounting. In this example, the 25k of spending in the first case is counted one time extra because it passes through the maid on the way to some other saving or spending.