Implement the function max_leaf_removal_moves(n, k, edges) in a file named /app/solution.py. The function should determine the maximum number of moves that can be made to remove leaves from a tree structure, where a move consists of removing exactly k leaves connected to a vertex.
Functionality Requirements:
The function should accept the following parameters:
An integer n representing the number of vertices in the tree (1 ≤ n ≤ 10^5).
An integer k representing the number of leaves that can be removed in one move (1 ≤ k ≤ n).
A list of tuples edges, where each tuple contains two integers (a, b) representing an edge between vertices a and b.
The function should return an integer that represents the maximum number of moves that can be performed to remove leaves from the tree.
Input/Output Requirements:
Input:
n: An integer indicating the number of vertices.
k: An integer indicating the number of leaves to remove in one move.
edges: A list of tuples where each tuple consists of two integers representing an edge between the vertices.
Output:
The function should return a single integer which is the maximum number of removal moves possible.
Example:
python
# Input
n = 7
k = 2
edges = [(0, 1), (0, 2), (1, 3), (1, 4), (2, 5), (2, 6)]
# Output
result = max_leaf_removal_moves(n, k, edges) # Output should be 2
Ensure the implementation is efficient to handle the upper limits of the input constraints.