Add check when terminating instances by filters.
Related tasks
Context
When terminating an empty slice of instances, an error is returned by EC2 because the ID provided is Malformed.
Change
This MR changes the termination mechanism to return a nil
if there are no instances to be terminated.
Other information
Additional documentation
Edited by Marcos Huck