Is there any option to remove 'undefined portlets' from the dashboard?

Is there any option to remove 'undefined portlets' from the dashboard?

No. The dashboard portlets are components of a dashboard layout which is fixed. Hence, the undefined portlets cannot be removed individually from the dashboard.